<div class="row-fluid">
	<div class="span12">
        <div class="box">
            <div class="title">
                <h4>
                    <span class="icon16 brocco-icon-grid"></span>
                    <span>Danh sách các đơn hàng mới</span>
                </h4>
            </div>
            <div class="content noPad">
            	<?php include_partial("order/orderList", array('orderList' => $orderListPending)) ?>
			</div>
		</div>
	</div>
</div>

<div class="row-fluid">
	<div class="span12">
        <div class="box">
            <div class="title">
                <h4>
                    <span class="icon16 brocco-icon-grid"></span>
                    <span>Danh sách các đơn hàng cũ</span>
                </h4>
            </div>
            <div class="content noPad">
            	<?php include_partial("order/orderList", array('orderList' => $orderListSuccess)) ?>
			</div>
		</div>
	</div>
</div>

<style>
	.tr_order_list { cursor:pointer; }
</style>
<script>
	$(document).ready(function()
	{
		$(".btnUpdateOrder").live("click", function()
		{
			wrapper_order = $(this).parent().parent().parent().parent();
			
		});
		$(".tr_order_list td:not(.chChildren)").click(function()
		{
			window.location = $(this).parent().find("a:first").attr("href");
		});
	});
</script>